import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        System.out.println(test());
    }

    private static int test(){
        try {
            throw new IllegalArgumentException("vfds");
        }catch (Exception e){
            System.out.println(e.getMessage());
            return 2;
        }finally {
            return 1;
        }
    }

    private static int reverse(int source){
        int[] array = new int[4];
        int i = 0;
        while (source != 0){
            array[i++] = source % 10;
            source = source / 10;
        }
        int number = 0;
        for (int j = 0; j < i; j++) {
            number = number * 10 + array[j];
        }
        return number;
    }
}
